response_file="~/.local/xoronos/cache/lib_info_log_file.xf"

printf "printf \"dump-encoding-param\"\n" > examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd dump-encoding-param | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"mine-xmatrix-comp-rnd\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd mine-xmatrix-comp-rnd | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"mine-xmatrix-comp-ot\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd mine-xmatrix-comp-ot | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"permute-xmatrix-comp-random\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd permute-xmatrix-comp-random | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"permute-xmatrix-comp-deterministic\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd permute-xmatrix-comp-deterministic | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"permute-xmatrix-comp-confidential\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd permute-xmatrix-comp-confidential | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"decompress-xmatrix\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd decompress-xmatrix | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-xmatrix-comp\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-xmatrix-comp | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-xmatrix\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-xmatrix | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-point\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-point | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-confidential-pseudo-random-number\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-confidential-pseudo-random-number | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-start-point\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-start-point | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-monomial-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-monomial-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-binomial-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-binomial-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"exchange-monomial-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd exchange-monomial-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-monovalent-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-monovalent-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"exchange-polyvalent-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd exchange-polyvalent-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-monovalent-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-monovalent-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null  $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-commitment-binomial-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-commitment-binomial-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-commitment-sym-signature\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-commitment-sym-signature | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-commitment-sym-certificate\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-commitment-sym-certificate | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-response\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-response | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-monomial-proof\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-monomial-proof | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-monomial-proof-sym-signature\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-monomial-proof-sym-signature | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-monomial-proof-sym-certificate\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-monomial-proof-sym-certificate | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-monomial-proof\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-monomial-proof | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null  $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-monomial-proof-sym-signature\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-monomial-proof-sym-signature | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-monomial-proof-sym-certificate\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-monomial-proof-sym-certificate | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null  $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-signature-symmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-signature-symmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-signature-asymmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-signature-asymmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-ring-signature\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-ring-signature | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-certificate-symmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-certificate-symmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-certificate-asymmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-certificate-asymmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-signature-symmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-signature-symmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null  $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-signature-asymmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-signature-asymmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null  $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-ring-signature\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-ring-signature | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null  $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-certificate-symmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-certificate-symmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null  $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-certificate-asymmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-certificate-asymmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null  $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-hash\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-hash | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-checksum\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-checksum | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-hash\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-hash | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-checksum\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-checksum | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-hash-to-monomial-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-hash-to-monomial-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-hash-to-point\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-hash-to-point | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-point-to-monomial-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-point-to-monomial-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-monomial-key-to-point\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-monomial-key-to-point | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-binomial-key-to-start-point\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-binomial-key-to-start-point | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-start-point-to-point\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-start-point-to-point | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-point-to-start-point\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-point-to-start-point | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-monomial-key-to-monomial-commitment\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-monomial-key-to-monomial-commitment | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-monomial-commitment-to-monomial-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-monomial-commitment-to-monomial-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-symmetric-certificate-to-monovalent-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-symmetric-certificate-to-monovalent-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-asymmetric-certificate-to-binomial-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-asymmetric-certificate-to-binomial-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-asymmetric-signature-to-binomial-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-asymmetric-signature-to-binomial-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-symmetric-signature-to-binomial-key\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-symmetric-signature-to-binomial-key | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-binomial-key-to-asymmetric-signature\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-binomial-key-to-asymmetric-signature | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"convert-binomial-key-to-symmetric-signature\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd convert-binomial-key-to-symmetric-signature | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"split-symmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd split-symmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"join-symmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd join-symmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"encrypt-symmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd encrypt-symmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"encrypt-asymmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd encrypt-asymmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"decipher-symmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd decipher-symmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"decipher-asymmetric\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd decipher-asymmetric | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"check-complete-block\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd check-complete-block | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-block\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-block | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"combine-blocks\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd combine-blocks | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"strip-header-from-block\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd strip-header-from-block | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"print-header\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd print-header | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"print-lib-info\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd print-lib-info | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"get-capacity\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd get-capacity | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh

printf "printf \"make-steganography-block\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-steganography-block | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh


printf "printf \"extract-steganography-block\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd extract-steganography-block | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh


printf "printf \"permute-ring-signature\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd permute-ring-signature | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh


printf "printf \"make-steganography-raw\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd make-steganography-raw | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh


printf "printf \"extract-steganography-raw\"\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
./xrnlib-cli --example -rnd extract-steganography-raw | sed 's/-command-line-log.*command_line_log_file.xf//' | sed 's/-no-command-line-log//' | sed 's/xrnlib/\.\/xrnlib/' >> examples_lst.sh
printf "\ncat 2>/dev/null $response_file\n" >> examples_lst.sh
printf "printf \"\\\\n\"\n" >> examples_lst.sh
printf "\n" >> examples_lst.sh


chmod 777 examples_lst.sh
./examples_lst.sh > log_examples_lst.txt
cat log_examples_lst.txt
